export const useAppStore = defineStore("app", () => {
	const isDark = ref(false)

	function setIsDark(val: boolean) {
		isDark.value = val
	}

	return {
		isDark,
		setIsDark,
	}
}, {
	persist: {
		key: "appStore",
		paths: ["isDark"]
	}
})